package com.zhl.gradledemo.service;

import com.zhl.gradledemo.model.Article;
import com.zhl.gradledemo.model.BrokerMessageLog;

import java.util.List;

/**
 * Created by Administrator on 2018/10/12.
 */
public interface BrokerMessageLogService extends BaseService<BrokerMessageLog> {

    /**查询需要再次发送的log*/
    List<BrokerMessageLog> query4StatusAndTimeoutMessage();

    /**根据messageid更新状态*/
    void changeBrokerMessageLogStatus(String messageId,String status);
}
